package main

import (
	"fmt"
)

func main() {

}

func A(){
	fmt.Println("Func A")
}

func B(){
	defer func(){
		if err:=recover(); err!= nil{
			fmt.Println("Recover in B")
		}
	}()
	panic("Panic in B")
}

func C(){
	fmt.Println("Func C")
}


func closure(x int) func(int) int {
	fmt.Println("%p1\n", &x)
	return func(y int) int {
		fmt.Println("%p2\n", &x)
		return x + y
	}
}
